home *** CD-ROM | disk | FTP | other *** search
- Path: ee.tamu.edu!ajay
- From: Ajay Kumar Gummadi <ajay@ee.tamu.edu>
- Newsgroups: comp.unix.programmer,comp.lang.c
- Subject: getpwnam() -error checking
- Date: Wed, 27 Mar 1996 02:55:56 -0600
- Organization: Texas A&M University, College Station, TX
- Message-ID: <Pine.SOL.3.91.960327025242.5526B-100000@ee.tamu.edu>
- NNTP-Posting-Host: eesun2.tamu.edu
- Mime-Version: 1.0
- Content-Type: TEXT/PLAIN; charset=US-ASCII
-
-
- Hi all,
-
- The function getpwnam() takes the user-id as input argument and returns
- a pointer to a structure, that contains all the user information.
-
- If I give a wrong /non-existent user-id as input argument, how can I
- check the error condition that may arise, before, the system dumps core.
-
- Reply by email will be very helpful.
-
- Thanks.
-
-
- bye
- ajay
-
-